<template>
  <div>
    <div class="dashboard-container" style="background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(105, 35, 39, 0.3) 50%, rgb(105, 35, 39) 92%, rgb(105, 35, 39) 100%);width: 100%;height: 4800px">
<!--      <div class="dashboard-container" :style="'background-image:url('+ Background +');'" style="background-size: cover;width: 100%;height: 1200px;text-align: center">-->
      <div class="dashboard-container" style="background-size: cover;width: 100%;height: 1200px;">
        <div>
          <span style="font-size: 200px;font-family: 'Ravie';color: #eeab3b;margin-left: 50px">_COM</span>
        </div>
        <div style="text-align: center;height: 300px">
        </div>
        <div style="text-align: center">
          <span style="color: #0e0e0e;font-family: '方正舒体';font-size: 50px">这一生一条路走到黑，是无畏，无味，也无谓。</span>
        </div>
        <div style="text-align: center;height: 300px">
        </div>
        <div style="text-align: center">
          <span style="color: #f6d69b;font-family: '方正姚体';font-size: 40px">" 世 界 和 平 "</span>
        </div>
      </div>
      <div class="dashboard-container" :style="'background-image:url('+ Background2 +');'" style="background-size: cover;width: 100%;height: 1200px">
        <el-row style="margin-left: 100px;margin-top: 100px">
          <el-col :span="6">
            <el-card :body-style="{ padding: '0px' }" style="height: 520px;width: 300px">
              <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image" style="height: 420px">
              <div style="padding: 14px;">
                <span>《xxxxx》</span>
                <div class="bottom clearfix">
                  <time class="time">{{ currentDate }}</time>
                  <el-button type="text" class="button">查看详情</el-button>
                </div>
              </div>
            </el-card>
          </el-col>
          <el-col :span="6">
            <el-card :body-style="{ padding: '0px' }" style="height: 520px;width: 300px">
              <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image" style="height: 420px">
              <div style="padding: 14px;">
                <span>《xxxxx》</span>
                <div class="bottom clearfix">
                  <time class="time">{{ currentDate }}</time>
                  <el-button type="text" class="button">查看详情</el-button>
                </div>
              </div>
            </el-card>
          </el-col>
          <el-col :span="6">
            <el-card :body-style="{ padding: '0px' }" style="height: 520px;width: 300px">
              <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image" style="height: 420px">
              <div style="padding: 14px;">
                <span>《xxxxx》</span>
                <div class="bottom clearfix">
                  <time class="time">{{ currentDate }}</time>
                  <el-button type="text" class="button">查看详情</el-button>
                </div>
              </div>
            </el-card>
          </el-col>
          <el-col :span="6">
            <el-card :body-style="{ padding: '0px' }" style="height: 520px;width: 300px">
              <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image" style="height: 420px">
              <div style="padding: 14px;">
                <span>《xxxxx》</span>
                <div class="bottom clearfix">
                  <time class="time">{{ currentDate }}</time>
                  <el-button type="text" class="button">查看详情</el-button>
                </div>
              </div>
            </el-card>
          </el-col>
        </el-row>
      </div>
      <div class="dashboard-container" :style="'background-image:url('+ Background2 +');'" style="background-size: cover;width: 100%;height: 1200px">
      </div>
      <div class="dashboard-container" :style="'background-image:url('+ Background2 +');'" style="background-size: cover;width: 100%;height: 1200px">
      </div>
    </div>
  </div>
</template>

<script>
import Background from '@/assets/images/5338.jpg'
import Background2 from '@/assets/images/5298.jpg'
export default {
  data() {
    return {
      Background: Background,
      Background2: Background2,
      currentDate: new Date()
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss">
.login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.title {
  margin: 0 auto 30px auto;
  text-align: center;
  color: #707070;
}

.login-form {
  border-radius: 6px;
  opacity: 0.9;
  width: 385px;
  padding: 25px 25px 5px 25px;
  .el-input {
    height: 38px;
    input {
      height: 38px;
    }
  }
  .input-icon{
    height: 39px;width: 14px;margin-left: 2px;
  }
}
.login-tip {
  font-size: 13px;
  text-align: center;
  color: #bfbfbf;
}
.login-code {
  width: 33%;
  display: inline-block;
  height: 38px;
  float: right;
  img{
    cursor: pointer;
    vertical-align:middle
  }
}
</style>
